package com.xinruke.hostels.reservation.mapper;

import com.xinruke.hostels.common.po.YwHuiyidanjiudianguanxi;
import com.xinruke.hostels.reservation.interfaces.dto.pms.MeetingInqueryPmsDetailQueryDto;
import com.xinruke.hostels.reservation.interfaces.dto.pms.MeetingInqueryPmsDetailResultDto;
import com.xinruke.hostels.reservation.interfaces.dto.pms.MeetingInqueryPmsListQueryDto;
import com.xinruke.hostels.reservation.interfaces.dto.pms.MeetingInqueryPmsListQueryResultDto;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.additional.insert.InsertListMapper;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface YwHuiyidanjiudianguanxiMapper extends Mapper<YwHuiyidanjiudianguanxi>, InsertListMapper<YwHuiyidanjiudianguanxi> {
    int verifyHotelInfo(@Param("id") Integer orderId);

    int rejectHotelInfo(@Param("id") Integer infoId);

    List<MeetingInqueryPmsListQueryResultDto> getHuiyidanjiudianguanxiList(MeetingInqueryPmsListQueryDto meetingInqueryPmsListQueryDto);

    MeetingInqueryPmsDetailResultDto getHuiyidanByParams(MeetingInqueryPmsDetailQueryDto meetingInqueryPmsDetailQueryDto);

}